<div class="menu">
    <ul id="menuList">
        <li>
            <a class="" href="#/first">
                <i>标签一</i>
            </a>
        </li>
        <li>
            <a class="" href="#/second">
                <i>标签二</i>
            </a>
        </li>
         <li>
               <button  class="btn btn-info pull-right" ng-click="login()">登录</button>
        </li>
    </ul>
</div>
<div>
    <form name="loginForm" ng-controller="LoginController" ng-submit="login(user)" novalidate>
        <label for="username">Username:</label>
        <input type="text" id="username" ng-model="user.username">
        <label for="password">Password:</label>
        <input type="password" id="password" ng-model="user.password">

    <button type="submit" class="btn btn-primary btn-block btn-flat" ng-click="login()">Login</button>

    </form>
</div>
<!--
<div>
    <form name="registerForm" class="registerForm" novalidate ng-submit="register(user)">
                <div class="title">欢迎注册，和我们一起甜蜜生活</div>
                <div class="form-group " ng-class="registerForm.username.$invalid ? '' : 'has-success'">
                    <div class="input-group">
                        <div class="input-group-addon"><span class=" iconfont icon-register icon-phone"></span></div>
                        <input type="text" name="username" class="form-control" placeholder="请输入手机号码"
                               ng-model="user.username"
                               maxlength="11" required ng-pattern="/1[3|5|7|8|][0-9]{9}/"/>
                    </div>
                    <div class="form-error"
                         ng-show="registerForm.username.$invalid && submitted ">
                        <span ng-show="registerForm.username.$error.required">手机号不能为空</span>
                        <span ng-show="registerForm.username.$error.pattern">请输入正确的手机号码</span>
                    </div>
                </div>
                <input type="submit" value="注册" class="btn btn-register btn-tianmi"/>
                {{result}}
    </form>
</div>
-->
